export const tableConfig = [
  {
    title: 'Name',
    dataIndex: 'name',
    key: 'name',
  },
  {
    title: 'Age',
    dataIndex: 'age',
    key: 'age',
  },
  {
    title: 'Gender',
    dataIndex: 'gender',
    key: 'gender',
  },
]

export const tableDataSource = [
  {
    id: 1,
    name: 'hdk',
    age: 12,
    gender: '男',
    children: [
      {
        id: 11,
        name: 'hdk1',
        age: 12,
        gender: '女',
        fatherId: 1,
        children: [
          {
            id: 111,
            name: 'hdk11',
            age: 13,
            gender: '男',
            noCheckbox: true,
            fatherId: 1,
          },
        ],
      },
      {
        id: 12,
        name: 'hdk1',
        age: 12,
        gender: '女',
        fatherId: 1,
        children: [
          {
            id: 112,
            name: 'hdk11',
            age: 13,
            gender: '男',
            noCheckbox: true,
            fatherId: 1,
          },
        ],
      },
      {
        id: 13,
        name: 'hdk1',
        age: 12,
        gender: '女',
        fatherId: 1,
        children: [
          {
            id: 113,
            name: 'hdk11',
            age: 13,
            gender: '男',
            noCheckbox: true,
            fatherId: 1,
          },
        ],
      },
    ],
  },
  {
    id: 2,
    name: 'hdk',
    age: 10,
    gender: '男',
    children: [
      {
        id: 22,
        name: 'hdk11',
        age: 13,
        gender: '男',
        noCheckbox: false,
        fatherId: 2,
      },
      {
        id: 23,
        name: 'hdk11',
        age: 13,
        gender: '男',
        noCheckbox: false,
        fatherId: 2,
      },
    ],
  },
  {
    id: 3,
    name: 'hdk',
    age: 10,
    gender: '女',
  },
]

export const actions = [
  {
    id: 'allButton',
    label: '全选',
  },
  {
    id: 'noAllButton',
    label: '取消全选',
  },
  {
    id: 'fxButton',
    label: '反选',
  },
]

export const tableDataSource2 = [
  {
    id: 1,
    name: 'hdk',
    age: 12,
    gender: '男',
  },
  {
    id: 2,
    name: 'hdk',
    age: 10,
    gender: '男',
  },
  {
    id: 3,
    name: 'hdk',
    age: 12,
    gender: '男',
  },
  {
    id: 4,
    name: 'hdk',
    age: 13,
    gender: '男',
  },
]
